package com.ruoyi.category.service;

import java.util.List;
import com.ruoyi.category.domain.SysBackpack;

/**
 * 背包Service接口
 * 
 * @author YJF
 */
public interface ISysBackpackService 
{
    /**
     * 查询背包
     * 
     * @param backpackId 背包主键
     * @return 背包
     */
    public SysBackpack selectSysBackpackByBackpackId(Long backpackId);

    /**
     * 查询背包列表
     * 
     * @param sysBackpack 背包
     * @return 背包集合
     */
    public List<SysBackpack> selectSysBackpackList(SysBackpack sysBackpack);

    /**
     * 新增背包
     * 
     * @param sysBackpack 背包
     * @return 结果
     */
    public int insertSysBackpack(SysBackpack sysBackpack);

    /**
     * 修改背包
     * 
     * @param sysBackpack 背包
     * @return 结果
     */
    public int updateSysBackpack(SysBackpack sysBackpack);

    /**
     * 批量删除背包
     * 
     * @param backpackIds 需要删除的背包主键集合
     * @return 结果
     */
    public int deleteSysBackpackByBackpackIds(Long[] backpackIds);

    /**
     * 删除背包信息
     * 
     * @param backpackId 背包主键
     * @return 结果
     */
    public int deleteSysBackpackByBackpackId(Long backpackId);
}
